﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020004B7 RID: 1207
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EvolveBuildCoinNotify : IMessage<EvolveBuildCoinNotify>, IMessage, IEquatable<EvolveBuildCoinNotify>, IDeepCloneable<EvolveBuildCoinNotify>, IBufferMessage
	{
		// Token: 0x17000FA2 RID: 4002
		// (get) Token: 0x0600368A RID: 13962 RVA: 0x0009688C File Offset: 0x00094A8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EvolveBuildCoinNotify> Parser
		{
			get
			{
				return EvolveBuildCoinNotify._parser;
			}
		}

		// Token: 0x17000FA3 RID: 4003
		// (get) Token: 0x0600368B RID: 13963 RVA: 0x00096893 File Offset: 0x00094A93
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EvolveBuildCoinNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000FA4 RID: 4004
		// (get) Token: 0x0600368C RID: 13964 RVA: 0x000968A5 File Offset: 0x00094AA5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EvolveBuildCoinNotify.Descriptor;
			}
		}

		// Token: 0x0600368D RID: 13965 RVA: 0x000968AC File Offset: 0x00094AAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildCoinNotify()
		{
		}

		// Token: 0x0600368E RID: 13966 RVA: 0x000968B4 File Offset: 0x00094AB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildCoinNotify(EvolveBuildCoinNotify other) : this()
		{
			this.itemValue_ = other.itemValue_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600368F RID: 13967 RVA: 0x000968D9 File Offset: 0x00094AD9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildCoinNotify Clone()
		{
			return new EvolveBuildCoinNotify(this);
		}

		// Token: 0x17000FA5 RID: 4005
		// (get) Token: 0x06003690 RID: 13968 RVA: 0x000968E1 File Offset: 0x00094AE1
		// (set) Token: 0x06003691 RID: 13969 RVA: 0x000968E9 File Offset: 0x00094AE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ItemValue
		{
			get
			{
				return this.itemValue_;
			}
			set
			{
				this.itemValue_ = value;
			}
		}

		// Token: 0x06003692 RID: 13970 RVA: 0x000968F2 File Offset: 0x00094AF2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EvolveBuildCoinNotify);
		}

		// Token: 0x06003693 RID: 13971 RVA: 0x00096900 File Offset: 0x00094B00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EvolveBuildCoinNotify other)
		{
			return other != null && (other == this || (this.ItemValue == other.ItemValue && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003694 RID: 13972 RVA: 0x00096930 File Offset: 0x00094B30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ItemValue != 0U)
			{
				num ^= this.ItemValue.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003695 RID: 13973 RVA: 0x0009696F File Offset: 0x00094B6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003696 RID: 13974 RVA: 0x00096977 File Offset: 0x00094B77
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003697 RID: 13975 RVA: 0x00096980 File Offset: 0x00094B80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ItemValue != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.ItemValue);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003698 RID: 13976 RVA: 0x000969B4 File Offset: 0x00094BB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ItemValue != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ItemValue);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003699 RID: 13977 RVA: 0x000969F2 File Offset: 0x00094BF2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EvolveBuildCoinNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ItemValue != 0U)
			{
				this.ItemValue = other.ItemValue;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600369A RID: 13978 RVA: 0x00096A23 File Offset: 0x00094C23
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600369B RID: 13979 RVA: 0x00096A2C File Offset: 0x00094C2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 96U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.ItemValue = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001587 RID: 5511
		private static readonly MessageParser<EvolveBuildCoinNotify> _parser = new MessageParser<EvolveBuildCoinNotify>(() => new EvolveBuildCoinNotify());

		// Token: 0x04001588 RID: 5512
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001589 RID: 5513
		public const int ItemValueFieldNumber = 12;

		// Token: 0x0400158A RID: 5514
		private uint itemValue_;
	}
}
